<?php
    require $this->__RAD__ . 'component/global/head.php';
?>

<?php
    require $this->__RAD__ . 'component/global/nav.php';
?>

	<!-- 内容 -->
	<div class="wrap">
		<div class="index">
			<div class="indexBanner">
				<div class="swiper-container bannerSwiper">
					<div class="swiper-wrapper">
                        <?php foreach($this->aryAd as $_ad) :?>
                            <div class="swiper-slide">
                                <a href="<?= $_ad->ad_url ?> ">
                                    <img src="<?= $this->__CDN__ ?>pics/l/<?= $_ad->ad_img ?>" class="bannerImg">
                                    <div class="width">
                                        <div class="nav">
                                            <div class="left">
											<span>
												<?= $_ad->ad_title ?>
											</span>
                                                <em>
                                                    More>
                                                </em>
                                            </div>
                                            <div class="right">
                                                <img src="<?= $this->__STATIC__ ?>images/index/bannerR.png">
                                            </div>
                                        </div>
                                    </div>
                                </a>
                            </div>
                        <?php endforeach ?>
					</div>
					<div class="swiper-pagination bannerPagi"></div>
					<div class="swiper-button-prev bannerPrev">
						<span></span>
					</div>
					<div class="swiper-button-next bannerNext">
						<span></span>
					</div>
				</div>
			</div>
			<div class="page1">
				<div class="top">
					<div class="width">
						<div class="contain">
							<div class="indexTitle">
								<p>
									行业应用
								</p>
							</div>
							<div class="nav">
								<div class="swiper-container topSwiper">
									<div class="swiper-wrapper">
                                        <?php
                                            foreach ($this->pics as $_k1 => $_v1) :
                                        ?>
                                            <div class="swiper-slide">
                                                <a href="<?= $_v1->ad_url ?>">
                                                    <p class="pt">
                                                        <em></em>
                                                        <img src="<?= $this->__CDN__ ?>pics/l/<?= $_v1->ad_img ?>">
                                                    </p>
                                                    <p class="pb">
                                                        <span>
                                                            <?= $_v1->ad_title ?>
                                                        </span>
                                                    </p>
                                                </a>
                                            </div>
                                        <?php
                                            endforeach;
                                        ?>
									</div>
								</div>
								<div class="swiper-button-prev topPrev">
									<span></span>
								</div>
								<div class="swiper-button-next topNext">
									<span></span>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="bot">
					<div class="width">
						<div class="contain">
							<div class="indexTitle">
								<p>
									产品中心
								</p>
							</div>
							<div class="nav">
								<div class="swiper-container botSwiper">
									<div class="swiper-wrapper">
                                        <?php
                                            foreach ($this->homeProduct as $_k1 => $_v1) :
                                        ?>
										<div class="swiper-slide">
											<a href="/product/detail/<?= $_v1->archives_id ?>">
												<p class="pt">
													<em></em>
													<img src="<?= $this->__CDN__ ?>pics/l/<?= $_v1->cover ?>">
												</p>
												<p class="pb">
													<span>
														<?= $_v1->title ?>
													</span>
												</p>
											</a>
										</div>
                                        <?php
                                            endforeach;
                                        ?>
									</div>
								</div>
								<div class="swiper-button-prev botPrev">
									<span></span>
								</div>
								<div class="swiper-button-next botNext">
									<span></span>
								</div>
							</div>
						</div>
					</div>
				</div>	
			</div>
			<div class="page2">
				<div class="width">
					<div class="contain">
						<ul class="clearboth">
							<li>
								<div class="nav">
									<div class="title clearboth">
										<p>
											走进骄成
										</p>
									</div>
									<div class="top">
										<p>
											上海骄成机电设备有限公司
										</p>
									</div>
									<div class="cen">
										<p>
											我们是一家专业为您提供金属检测和一流超声波解决方案的高新技术实业公司公司位于上海市重点高科技园区---上海紫竹高科技园区
										</p>
									</div>
									<div class="bot">
										<a href="javascript:;">
											<span></span>
										</a>
									</div>
								</div>
							</li>
							<li>
								<div class="nav">
									<div class="title clearboth">
										<p>
											新闻中心
										</p>
										<a href="javascript:;">
											More>
										</a>
									</div>
									<div class="indexNews">
                                        <?php
                                        foreach ($this->homeNews as $_k1 => $_v1) :
                                            ?>
                                            <a href="/news/detail/<?= $_v1->archives_id ?>">
											<span>
												<?= $_v1->title ?>
											</span>
                                                <em>
                                                    <?= date('Y-m-d', $_v1->add_date) ?>
                                                </em>
                                            </a>
                                        <?php
                                        endforeach;
                                        ?>



									</div>
								</div>
							</li>
							<li>
								<div class="nav">
									<div class="title clearboth">
										<p>
											服务支持
										</p>
									</div>
									<div class="top">
										<p>
											为您设计 为您解忧
										</p>
									</div>
									<div class="cen">
										<p>
											秉承“想用户所忧，应用户所求，尽骄成所能”的服务宗旨，依托在行业内多年的专业技术和经验，上海骄成高性能超声波裁
										</p>
									</div>
									<div class="bot">
										<a href="javascript:;">
											<span></span>
										</a>
									</div>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>		
	</div>

	<!-- 右侧 -->
    <?php
        require $this->__RAD__ . 'component/global/right.php';
    ?>
    <?php
        require $this->__RAD__ . 'component/global/footer.php';
    ?>
<script type="text/javascript">
	$(function(){
		indexBanner();
		index();
	})
</script>
